<template>
	<view>
		<video id="myVideo" src="../static/怪美的1.mp4" enable-progress-gesture="true"  @error="verr"  controls></video>
		<view>所播放歌曲为：  {{vv}}</view>
		<view>所播放歌曲为：  {{uu}}</view>
	 </view>
	           
	
</template>

<script>
	export default {
		data() {
			return {
				
				vv:"",
				aa:"",
				uu:""
				
				};
		},
		methods:{
			verr:function(e){
				
				  let G=e.detail.errMsg;
				   this.aa =G.toLowerCase();
		        },
				
				
			onLoad:function(a){
				this.vv=a.cc,
				this.uu=a.tt
				
			    console.log(a.tt);
				}
	        },
		
	}
</script>

<style>
	video{
		width: 100%;
		height: 200px;
	}
</style>
